/**
 * @Author:      王秀民 
 * @DateTime:    2019-01-11 10:38:38
 * @remarks:     创建store实例  
 */
// applyMiddleware：redux通过该函数来使用中间件
// createStore：用于创建store实例
import { applyMiddleware, createStore, combineReducers } from 'redux'
import * as breadcrumb from './common/reducers'
// 中间件
import thunk from 'redux-thunk'
// 创建store实例
let store = createStore(
  // reducers,
  combineReducers({ ...breadcrumb }),
  applyMiddleware(thunk)
)

export default store